package com.eastfair.venuebooking.dao;

import com.eastfair.boot.mapper.SuperMapper;
import com.eastfair.venuebooking.entity.QuotationDetail;

import com.eastfair.venuebooking.vo.QuotationDetailVO;
import feign.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * 报价书详情
 * </p>
 *
 * @author linan
 * @date 2022-06-08
 */
@Repository
public interface QuotationDetailMapper extends SuperMapper<QuotationDetail> {

    /**
     * getSpaceNamesByExhibitionId
     * @param exhibitionId
     * @return
     */
    List<String> getSpaceNamesByExhibitionId(@Param("exhibitionId") Long exhibitionId);

    /**
     * 报价书id查询报价书详情列表.
     *
     * @param quotationId the quotation id
     * @return the list
     */
    List<QuotationDetailVO> listQuotationDetailVOsByQuotationId(@Param("quotationId") Long quotationId);
}
